package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.OrderDetail;
import com.xmy.cultivate.mapper.OrderDetailMapper;
import com.xmy.cultivate.service.IOrderDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>
 * 订单报名信息 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2023-08-17
 */
@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail> implements IOrderDetailService {

    @Autowired
    OrderDetailMapper orderDetailMapper;

    public BigDecimal getAllResiduePrice(Long schoolId,Long studentId,Long subjectsId,Integer yearAndQuarter){
        return orderDetailMapper.getAllResiduePrice(schoolId,studentId,subjectsId,yearAndQuarter);
    }
}
